home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / lisp / comint / auto-autoloads.elc.z / auto-autoloads.elc
Emacs Compiled Lisp  |  1998-05-21  |  9.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v20 byte-compiled Lisp data default
99% file data default
55% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
44% TrID Summation Document Image Information Load File default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 32 |on Mon M|ar 9 12|
|00000040| 3a 33 37 3a 33 31 20 31 | 39 39 38 0a 3b 3b 3b 20 |:37:31 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 63 6f 6d 69 |s-20.3/l|isp/comi|
|000000a0| 6e 74 2f 61 75 74 6f 2d | 61 75 74 6f 6c 6f 61 64 |nt/auto-|autoload|
|000000b0| 73 2e 65 6c 0a 3b 3b 3b | 20 65 6d 61 63 73 20 76 |s.el.;;;| emacs v|
|000000c0| 65 72 73 69 6f 6e 20 32 | 30 2e 34 20 22 45 6d 65 |ersion 2|0.4 "Eme|
|000000d0| 72 61 6c 64 22 20 58 45 | 6d 61 63 73 20 20 4c 75 |rald" XE|macs Lu|
|000000e0| 63 69 64 2e 0a 3b 3b 3b | 20 62 79 74 65 63 6f 6d |cid..;;;| bytecom|
|000000f0| 70 20 76 65 72 73 69 6f | 6e 20 32 2e 32 35 20 58 |p versio|n 2.25 X|
|00000100| 45 6d 61 63 73 3b 20 32 | 32 2d 4d 61 72 2d 39 36 |Emacs; 2|2-Mar-96|
|00000110| 2e 0a 3b 3b 3b 20 6f 70 | 74 69 6d 69 7a 61 74 69 |..;;; op|timizati|
|00000120| 6f 6e 20 69 73 20 6f 6e | 2e 0a 3b 3b 3b 20 74 68 |on is on|..;;; th|
|00000130| 69 73 20 66 69 6c 65 20 | 75 73 65 73 20 6f 70 63 |is file |uses opc|
|00000140| 6f 64 65 73 20 77 68 69 | 63 68 20 64 6f 20 6e 6f |odes whi|ch do no|
|00000150| 74 20 65 78 69 73 74 20 | 69 6e 20 45 6d 61 63 73 |t exist |in Emacs|
|00000160| 20 31 39 2e 0a 0a 28 69 | 66 20 28 61 6e 64 20 28 | 19...(i|f (and (|
|00000170| 62 6f 75 6e 64 70 20 27 | 65 6d 61 63 73 2d 76 65 |boundp '|emacs-ve|
|00000180| 72 73 69 6f 6e 29 0a 09 | 20 28 6f 72 20 28 61 6e |rsion)..| (or (an|
|00000190| 64 20 28 62 6f 75 6e 64 | 70 20 27 65 70 6f 63 68 |d (bound|p 'epoch|
|000001a0| 3a 3a 76 65 72 73 69 6f | 6e 29 20 65 70 6f 63 68 |::versio|n) epoch|
|000001b0| 3a 3a 76 65 72 73 69 6f | 6e 29 0a 09 20 20 20 20 |::versio|n).. |
|000001c0| 20 28 73 74 72 69 6e 67 | 2d 6c 65 73 73 70 20 65 | (string|-lessp e|
|000001d0| 6d 61 63 73 2d 76 65 72 | 73 69 6f 6e 20 22 32 30 |macs-ver|sion "20|
|000001e0| 22 29 29 29 0a 20 20 20 | 20 28 65 72 72 6f 72 20 |"))). | (error |
|000001f0| 22 60 61 75 74 6f 2d 61 | 75 74 6f 6c 6f 61 64 73 |"`auto-a|utoloads|
|00000200| 2e 65 6c 27 20 77 61 73 | 20 63 6f 6d 70 69 6c 65 |.el' was| compile|
|00000210| 64 20 66 6f 72 20 45 6d | 61 63 73 20 32 30 22 29 |d for Em|acs 20")|
|00000220| 29 0a 0a 28 6f 72 20 28 | 62 6f 75 6e 64 70 20 27 |)..(or (|boundp '|
|00000230| 63 75 72 72 65 6e 74 2d | 6c 6f 61 64 2d 6c 69 73 |current-|load-lis|
|00000240| 74 29 20 28 73 65 74 71 | 20 63 75 72 72 65 6e 74 |t) (setq| current|
|00000250| 2d 6c 6f 61 64 2d 6c 69 | 73 74 20 6e 69 6c 29 29 |-load-li|st nil))|
|00000260| 0a 0a 0a 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |...(byte|-code ".|
|00000270| c1 21 ab 84 c2 c3 21 88 | c0 87 22 20 5b 66 65 61 |.!....!.|.." [fea|
|00000280| 74 75 72 65 70 20 63 6f | 6d 69 6e 74 2d 61 75 74 |turep co|mint-aut|
|00000290| 6f 6c 6f 61 64 73 20 65 | 72 72 6f 72 20 22 41 6c |oloads e|rror "Al|
|000002a0| 72 65 61 64 79 20 6c 6f | 61 64 65 64 22 5d 20 32 |ready lo|aded"] 2|
|000002b0| 29 0a 23 40 34 34 35 20 | 52 75 6e 20 43 4f 4d 4d |).#@445 |Run COMM|
|000002c0| 41 4e 44 20 69 6e 20 74 | 68 65 20 62 61 63 6b 67 |AND in t|he backg|
|000002d0| 72 6f 75 6e 64 20 6c 69 | 6b 65 20 63 73 68 2e 20 |round li|ke csh. |
|000002e0| 20 0a 41 20 6d 65 73 73 | 61 67 65 20 69 73 20 64 | .A mess|age is d|
|000002f0| 69 73 70 6c 61 79 65 64 | 20 77 68 65 6e 20 74 68 |isplayed| when th|
|00000300| 65 20 6a 6f 62 20 73 74 | 61 72 74 73 20 61 6e 64 |e job st|arts and|
|00000310| 20 66 69 6e 69 73 68 65 | 73 2e 20 20 54 68 65 20 | finishe|s. The |
|00000320| 62 75 66 66 65 72 20 69 | 73 20 69 6e 0a 63 6f 6d |buffer i|s in.com|
|00000330| 69 6e 74 20 6d 6f 64 65 | 2c 20 73 6f 20 79 6f 75 |int mode|, so you|
|00000340| 20 63 61 6e 20 73 65 6e | 64 20 69 6e 70 75 74 20 | can sen|d input |
|00000350| 61 6e 64 20 73 69 67 6e | 61 6c 73 20 74 6f 20 74 |and sign|als to t|
|00000360| 68 65 20 6a 6f 62 2e 20 | 20 54 68 65 20 70 72 6f |he job. | The pro|
|00000370| 63 65 73 73 20 6f 62 6a | 65 63 74 0a 69 73 20 72 |cess obj|ect.is r|
|00000380| 65 74 75 72 6e 65 64 20 | 69 66 20 61 6e 79 6f 6e |eturned |if anyon|
|00000390| 65 20 63 61 72 65 73 2e | 20 20 53 65 65 20 61 6c |e cares.| See al|
|000003a0| 73 6f 20 63 6f 6d 69 6e | 74 2d 6d 6f 64 65 20 61 |so comin|t-mode a|
|000003b0| 6e 64 20 74 68 65 20 76 | 61 72 69 61 62 6c 65 73 |nd the v|ariables|
|000003c0| 0a 62 61 63 6b 67 72 6f | 75 6e 64 2d 73 68 6f 77 |.backgro|und-show|
|000003d0| 20 61 6e 64 20 62 61 63 | 6b 67 72 6f 75 6e 64 2d | and bac|kground-|
|000003e0| 73 65 6c 65 63 74 2e 0a | 0a 4f 70 74 69 6f 6e 61 |select..|.Optiona|
|000003f0| 6c 20 73 65 63 6f 6e 64 | 20 61 72 67 75 6d 65 6e |l second| argumen|
|00000400| 74 20 42 55 46 46 45 52 | 2d 4e 41 4d 45 20 69 73 |t BUFFER|-NAME is|
|00000410| 20 61 20 62 75 66 66 65 | 72 20 74 6f 20 69 6e 73 | a buffe|r to ins|
|00000420| 65 72 74 20 74 68 65 20 | 6f 75 74 70 75 74 20 69 |ert the |output i|
|00000430| 6e 74 6f 2e 0a 49 66 20 | 6f 6d 69 74 74 65 64 2c |nto..If |omitted,|
|00000440| 20 61 20 62 75 66 66 65 | 72 20 6e 61 6d 65 20 69 | a buffe|r name i|
|00000450| 73 20 63 6f 6e 73 74 72 | 75 63 74 65 64 20 66 72 |s constr|ucted fr|
|00000460| 6f 6d 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 20 72 |om the c|ommand r|
|00000470| 75 6e 2e 1f 0a 28 61 75 | 74 6f 6c 6f 61 64 20 27 |un...(au|toload '|
|00000480| 62 61 63 6b 67 72 6f 75 | 6e 64 20 22 62 61 63 6b |backgrou|nd "back|
|00000490| 67 72 6f 75 6e 64 22 20 | 27 28 23 24 20 2e 20 36 |ground" |'(#$ . 6|
|000004a0| 39 36 29 20 74 20 6e 69 | 6c 29 0a 23 40 35 35 39 |96) t ni|l).#@559|
|000004b0| 20 4d 61 6b 65 20 61 20 | 63 6f 6d 69 6e 74 20 70 | Make a |comint p|
|000004c0| 72 6f 63 65 73 73 20 4e | 41 4d 45 20 69 6e 20 61 |rocess N|AME in a|
|000004d0| 20 62 75 66 66 65 72 2c | 20 72 75 6e 6e 69 6e 67 | buffer,| running|
|000004e0| 20 50 52 4f 47 52 41 4d | 2e 0a 54 68 65 20 6e 61 | PROGRAM|..The na|
|000004f0| 6d 65 20 6f 66 20 74 68 | 65 20 62 75 66 66 65 72 |me of th|e buffer|
|00000500| 20 69 73 20 6d 61 64 65 | 20 62 79 20 73 75 72 72 | is made| by surr|
|00000510| 6f 75 6e 64 69 6e 67 20 | 4e 41 4d 45 20 77 69 74 |ounding |NAME wit|
|00000520| 68 20 60 2a 27 73 2e 0a | 50 52 4f 47 52 41 4d 20 |h `*'s..|PROGRAM |
|00000530| 73 68 6f 75 6c 64 20 62 | 65 20 65 69 74 68 65 72 |should b|e either|
|00000540| 20 61 20 73 74 72 69 6e | 67 20 64 65 6e 6f 74 69 | a strin|g denoti|
|00000550| 6e 67 20 61 6e 20 65 78 | 65 63 75 74 61 62 6c 65 |ng an ex|ecutable|
|00000560| 20 70 72 6f 67 72 61 6d | 20 74 6f 20 63 72 65 61 | program| to crea|
|00000570| 74 65 0a 76 69 61 20 60 | 73 74 61 72 74 2d 70 72 |te.via `|start-pr|
|00000580| 6f 63 65 73 73 27 2c 20 | 6f 72 20 61 20 63 6f 6e |ocess', |or a con|
|00000590| 73 20 70 61 69 72 20 6f | 66 20 74 68 65 20 66 6f |s pair o|f the fo|
|000005a0| 72 6d 20 28 48 4f 53 54 | 20 2e 20 53 45 52 56 49 |rm (HOST| . SERVI|
|000005b0| 43 45 29 20 64 65 6e 6f | 74 69 6e 67 20 61 20 54 |CE) deno|ting a T|
|000005c0| 43 50 0a 63 6f 6e 6e 65 | 63 74 69 6f 6e 20 74 6f |CP.conne|ction to|
|000005d0| 20 62 65 20 6f 70 65 6e | 65 64 20 76 69 61 20 60 | be open|ed via `|
|000005e0| 6f 70 65 6e 2d 6e 65 74 | 77 6f 72 6b 2d 73 74 72 |open-net|work-str|
|000005f0| 65 61 6d 27 2e 20 20 49 | 66 20 74 68 65 72 65 20 |eam'. I|f there |
|00000600| 69 73 20 61 6c 72 65 61 | 64 79 20 61 0a 72 75 6e |is alrea|dy a.run|
|00000610| 6e 69 6e 67 20 70 72 6f | 63 65 73 73 20 69 6e 20 |ning pro|cess in |
|00000620| 74 68 61 74 20 62 75 66 | 66 65 72 2c 20 69 74 20 |that buf|fer, it |
|00000630| 69 73 20 6e 6f 74 20 72 | 65 73 74 61 72 74 65 64 |is not r|estarted|
|00000640| 2e 20 20 4f 70 74 69 6f | 6e 61 6c 20 74 68 69 72 |. Optio|nal thir|
|00000650| 64 20 61 72 67 0a 53 54 | 41 52 54 46 49 4c 45 20 |d arg.ST|ARTFILE |
|00000660| 69 73 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 61 |is the n|ame of a|
|00000670| 20 66 69 6c 65 20 74 6f | 20 73 65 6e 64 20 74 68 | file to| send th|
|00000680| 65 20 63 6f 6e 74 65 6e | 74 73 20 6f 66 20 74 6f |e conten|ts of to|
|00000690| 20 74 68 65 20 70 72 6f | 63 65 73 73 2e 0a 0a 49 | the pro|cess...I|
|000006a0| 66 20 50 52 4f 47 52 41 | 4d 20 69 73 20 61 20 73 |f PROGRA|M is a s|
|000006b0| 74 72 69 6e 67 2c 20 61 | 6e 79 20 6d 6f 72 65 20 |tring, a|ny more |
|000006c0| 61 72 67 73 20 61 72 65 | 20 61 72 67 75 6d 65 6e |args are| argumen|
|000006d0| 74 73 20 74 6f 20 50 52 | 4f 47 52 41 4d 2e 1f 0a |ts to PR|OGRAM...|
|000006e0| 28 61 75 74 6f 6c 6f 61 | 64 20 27 6d 61 6b 65 2d |(autoloa|d 'make-|
|000006f0| 63 6f 6d 69 6e 74 20 22 | 63 6f 6d 69 6e 74 22 20 |comint "|comint" |
|00000700| 27 28 23 24 20 2e 20 31 | 32 30 31 29 20 6e 69 6c |'(#$ . 1|201) nil|
|00000710| 20 6e 69 6c 29 0a 23 40 | 32 38 35 20 52 75 6e 20 | nil).#@|285 Run |
|00000720| 50 52 4f 47 52 41 4d 20 | 69 6e 20 61 20 63 6f 6d |PROGRAM |in a com|
|00000730| 69 6e 74 20 62 75 66 66 | 65 72 20 61 6e 64 20 73 |int buff|er and s|
|00000740| 77 69 74 63 68 20 74 6f | 20 69 74 2e 0a 54 68 65 |witch to| it..The|
|00000750| 20 62 75 66 66 65 72 20 | 6e 61 6d 65 20 69 73 20 | buffer |name is |
|00000760| 6d 61 64 65 20 62 79 20 | 73 75 72 72 6f 75 6e 64 |made by |surround|
|00000770| 69 6e 67 20 74 68 65 20 | 66 69 6c 65 20 6e 61 6d |ing the |file nam|
|00000780| 65 20 6f 66 20 50 52 4f | 47 52 41 4d 20 77 69 74 |e of PRO|GRAM wit|
|00000790| 68 20 60 2a 27 73 2e 0a | 54 68 65 20 66 69 6c 65 |h `*'s..|The file|
|000007a0| 20 6e 61 6d 65 20 69 73 | 20 75 73 65 64 20 74 6f | name is| used to|
|000007b0| 20 6d 61 6b 65 20 61 20 | 73 79 6d 62 6f 6c 20 6e | make a |symbol n|
|000007c0| 61 6d 65 2c 20 73 75 63 | 68 20 61 73 20 60 63 6f |ame, suc|h as `co|
|000007d0| 6d 69 6e 74 2d 73 68 2d | 68 6f 6f 6b 27 2c 20 61 |mint-sh-|hook', a|
|000007e0| 6e 64 20 61 6e 79 0a 68 | 6f 6f 6b 73 20 6f 6e 20 |nd any.h|ooks on |
|000007f0| 74 68 69 73 20 73 79 6d | 62 6f 6c 20 61 72 65 20 |this sym|bol are |
|00000800| 72 75 6e 20 69 6e 20 74 | 68 65 20 62 75 66 66 65 |run in t|he buffe|
|00000810| 72 2e 0a 53 65 65 20 60 | 6d 61 6b 65 2d 63 6f 6d |r..See `|make-com|
|00000820| 69 6e 74 27 20 61 6e 64 | 20 60 63 6f 6d 69 6e 74 |int' and| `comint|
|00000830| 2d 65 78 65 63 27 2e 1f | 0a 28 61 75 74 6f 6c 6f |-exec'..|.(autolo|
|00000840| 61 64 20 27 63 6f 6d 69 | 6e 74 2d 72 75 6e 20 22 |ad 'comi|nt-run "|
|00000850| 63 6f 6d 69 6e 74 22 20 | 27 28 23 24 20 2e 20 31 |comint" |'(#$ . 1|
|00000860| 38 32 30 29 20 74 20 6e | 69 6c 29 0a 23 40 32 31 |820) t n|il).#@21|
|00000870| 32 20 44 79 6e 61 6d 69 | 63 61 6c 6c 79 20 70 65 |2 Dynami|cally pe|
|00000880| 72 66 6f 72 6d 20 63 6f | 6d 70 6c 65 74 69 6f 6e |rform co|mpletion|
|00000890| 20 61 74 20 70 6f 69 6e | 74 2e 0a 43 61 6c 6c 73 | at poin|t..Calls|
|000008a0| 20 74 68 65 20 66 75 6e | 63 74 69 6f 6e 73 20 69 | the fun|ctions i|
|000008b0| 6e 20 60 63 6f 6d 69 6e | 74 2d 64 79 6e 61 6d 69 |n `comin|t-dynami|
|000008c0| 63 2d 63 6f 6d 70 6c 65 | 74 65 2d 66 75 6e 63 74 |c-comple|te-funct|
|000008d0| 69 6f 6e 73 27 20 74 6f | 20 70 65 72 66 6f 72 6d |ions' to| perform|
|000008e0| 0a 63 6f 6d 70 6c 65 74 | 69 6f 6e 20 75 6e 74 69 |.complet|ion unti|
|000008f0| 6c 20 61 20 66 75 6e 63 | 74 69 6f 6e 20 72 65 74 |l a func|tion ret|
|00000900| 75 72 6e 73 20 6e 6f 6e | 2d 6e 69 6c 2c 20 61 74 |urns non|-nil, at|
|00000910| 20 77 68 69 63 68 20 70 | 6f 69 6e 74 20 63 6f 6d | which p|oint com|
|00000920| 70 6c 65 74 69 6f 6e 20 | 69 73 0a 61 73 73 75 6d |pletion |is.assum|
|00000930| 65 64 20 74 6f 20 68 61 | 76 65 20 6f 63 63 75 72 |ed to ha|ve occur|
|00000940| 72 65 64 2e 1f 0a 28 61 | 75 74 6f 6c 6f 61 64 20 |red...(a|utoload |
|00000950| 27 63 6f 6d 69 6e 74 2d | 64 79 6e 61 6d 69 63 2d |'comint-|dynamic-|
|00000960| 63 6f 6d 70 6c 65 74 65 | 20 22 63 6f 6d 69 6e 74 |complete| "comint|
|00000970| 22 20 27 28 23 24 20 2e | 20 32 31 36 32 29 20 74 |" '(#$ .| 2162) t|
|00000980| 20 6e 69 6c 29 0a 23 40 | 37 37 20 4c 69 73 74 20 | nil).#@|77 List |
|00000990| 69 6e 20 68 65 6c 70 20 | 62 75 66 66 65 72 20 73 |in help |buffer s|
|000009a0| 6f 72 74 65 64 20 43 4f | 4d 50 4c 45 54 49 4f 4e |orted CO|MPLETION|
|000009b0| 53 2e 0a 54 79 70 69 6e | 67 20 53 50 43 20 66 6c |S..Typin|g SPC fl|
|000009c0| 75 73 68 65 73 20 74 68 | 65 20 68 65 6c 70 20 62 |ushes th|e help b|
|000009d0| 75 66 66 65 72 2e 1f 0a | 28 61 75 74 6f 6c 6f 61 |uffer...|(autoloa|
|000009e0| 64 20 27 63 6f 6d 69 6e | 74 2d 64 79 6e 61 6d 69 |d 'comin|t-dynami|
|000009f0| 63 2d 6c 69 73 74 2d 63 | 6f 6d 70 6c 65 74 69 6f |c-list-c|ompletio|
|00000a00| 6e 73 20 22 63 6f 6d 69 | 6e 74 22 20 27 28 23 24 |ns "comi|nt" '(#$|
|00000a10| 20 2e 20 32 34 34 33 29 | 20 6e 69 6c 20 6e 69 6c | . 2443)| nil nil|
|00000a20| 29 0a 23 40 32 39 20 50 | 61 74 68 6e 61 6d 65 20 |).#@29 P|athname |
|00000a30| 66 6f 72 20 65 78 65 63 | 75 74 69 6e 67 20 67 64 |for exec|uting gd|
|00000a40| 62 2e 1f 0a 28 64 65 66 | 76 61 72 20 67 64 62 2d |b...(def|var gdb-|
|00000a50| 63 6f 6d 6d 61 6e 64 2d | 6e 61 6d 65 20 22 67 64 |command-|name "gd|
|00000a60| 62 22 20 28 23 24 20 2e | 20 32 35 39 39 29 29 0a |b" (#$ .| 2599)).|
|00000a70| 23 40 32 32 36 20 52 75 | 6e 20 67 64 62 20 6f 6e |#@226 Ru|n gdb on|
|00000a80| 20 70 72 6f 67 72 61 6d | 20 46 49 4c 45 20 69 6e | program| FILE in|
|00000a90| 20 62 75 66 66 65 72 20 | 2a 67 64 62 2d 46 49 4c | buffer |*gdb-FIL|
|00000aa0| 45 2a 2e 0a 54 68 65 20 | 64 69 72 65 63 74 6f 72 |E*..The |director|
|00000ab0| 79 20 63 6f 6e 74 61 69 | 6e 69 6e 67 20 46 49 4c |y contai|ning FIL|
|00000ac0| 45 20 62 65 63 6f 6d 65 | 73 20 74 68 65 20 69 6e |E become|s the in|
|00000ad0| 69 74 69 61 6c 20 77 6f | 72 6b 69 6e 67 20 64 69 |itial wo|rking di|
|00000ae0| 72 65 63 74 6f 72 79 0a | 61 6e 64 20 73 6f 75 72 |rectory.|and sour|
|00000af0| 63 65 2d 66 69 6c 65 20 | 64 69 72 65 63 74 6f 72 |ce-file |director|
|00000b00| 79 20 66 6f 72 20 47 44 | 42 2e 20 20 49 66 20 79 |y for GD|B. If y|
|00000b10| 6f 75 20 77 69 73 68 20 | 74 6f 20 63 68 61 6e 67 |ou wish |to chang|
|00000b20| 65 20 74 68 69 73 2c 20 | 75 73 65 0a 74 68 65 20 |e this, |use.the |
|00000b30| 47 44 42 20 63 6f 6d 6d | 61 6e 64 73 20 60 63 64 |GDB comm|ands `cd|
|00000b40| 20 44 49 52 27 20 61 6e | 64 20 60 64 69 72 65 63 | DIR' an|d `direc|
|00000b50| 74 6f 72 79 27 2e 1f 0a | 28 61 75 74 6f 6c 6f 61 |tory'...|(autoloa|
|00000b60| 64 20 27 67 64 62 20 22 | 67 64 62 22 20 27 28 23 |d 'gdb "|gdb" '(#|
|00000b70| 24 20 2e 20 32 36 37 38 | 29 20 74 20 6e 69 6c 29 |$ . 2678|) t nil)|
|00000b80| 0a 23 40 33 35 20 44 65 | 62 75 67 20 61 20 70 72 |.#@35 De|bug a pr|
|00000b90| 6f 67 72 61 6d 20 75 73 | 69 6e 67 20 61 20 63 6f |ogram us|ing a co|
|00000ba0| 72 65 66 69 6c 65 2e 1f | 0a 28 61 75 74 6f 6c 6f |refile..|.(autolo|
|00000bb0| 61 64 20 27 67 64 62 2d | 77 69 74 68 2d 63 6f 72 |ad 'gdb-|with-cor|
|00000bc0| 65 20 22 67 64 62 22 20 | 27 28 23 24 20 2e 20 32 |e "gdb" |'(#$ . 2|
|00000bd0| 39 35 30 29 20 74 20 6e | 69 6c 29 0a 23 40 32 32 |950) t n|il).#@22|
|00000be0| 32 20 41 63 74 69 76 61 | 74 65 73 20 61 20 67 64 |2 Activa|tes a gd|
|00000bf0| 62 20 73 65 73 73 69 6f | 6e 20 77 69 74 68 20 67 |b sessio|n with g|
|00000c00| 64 62 73 72 63 2d 6d 6f | 64 65 20 74 75 72 6e 65 |dbsrc-mo|de turne|
|00000c10| 64 20 6f 6e 2e 20 20 41 | 20 6e 75 6d 65 72 69 63 |d on. A| numeric|
|00000c20| 20 70 72 65 66 69 78 0a | 61 72 67 75 6d 65 6e 74 | prefix.|argument|
|00000c30| 20 63 61 6e 20 62 65 20 | 75 73 65 64 20 74 6f 20 | can be |used to |
|00000c40| 73 70 65 63 69 66 79 20 | 61 20 72 75 6e 6e 69 6e |specify |a runnin|
|00000c50| 67 20 70 72 6f 63 65 73 | 73 20 74 6f 20 61 74 74 |g proces|s to att|
|00000c60| 61 63 68 2c 20 61 6e 64 | 20 61 20 6e 6f 6e 2d 6e |ach, and| a non-n|
|00000c70| 75 6d 65 72 69 63 0a 70 | 72 65 66 69 78 20 61 72 |umeric.p|refix ar|
|00000c80| 67 75 6d 65 6e 74 20 77 | 69 6c 6c 20 63 61 75 73 |gument w|ill caus|
|00000c90| 65 20 79 6f 75 20 74 6f | 20 62 65 20 70 72 6f 6d |e you to| be prom|
|00000ca0| 70 74 65 64 20 66 6f 72 | 20 61 20 63 6f 72 65 20 |pted for| a core |
|00000cb0| 66 69 6c 65 20 74 6f 20 | 64 65 62 75 67 2e 1f 0a |file to |debug...|
|00000cc0| 28 61 75 74 6f 6c 6f 61 | 64 20 27 67 64 62 73 72 |(autoloa|d 'gdbsr|
|00000cd0| 63 20 22 67 64 62 73 72 | 63 22 20 27 28 23 24 20 |c "gdbsr|c" '(#$ |
|00000ce0| 2e 20 33 30 34 32 29 20 | 74 20 6e 69 6c 29 0a 23 |. 3042) |t nil).#|
|00000cf0| 40 31 36 30 20 52 75 6e | 20 73 64 62 20 6f 6e 20 |@160 Run| sdb on |
|00000d00| 70 72 6f 67 72 61 6d 20 | 46 49 4c 45 20 69 6e 20 |program |FILE in |
|00000d10| 62 75 66 66 65 72 20 2a | 67 75 64 2d 46 49 4c 45 |buffer *|gud-FILE|
|00000d20| 2a 2e 0a 54 68 65 20 64 | 69 72 65 63 74 6f 72 79 |*..The d|irectory|
|00000d30| 20 63 6f 6e 74 61 69 6e | 69 6e 67 20 46 49 4c 45 | contain|ing FILE|
|00000d40| 20 62 65 63 6f 6d 65 73 | 20 74 68 65 20 69 6e 69 | becomes| the ini|
|00000d50| 74 69 61 6c 20 77 6f 72 | 6b 69 6e 67 20 64 69 72 |tial wor|king dir|
|00000d60| 65 63 74 6f 72 79 0a 61 | 6e 64 20 73 6f 75 72 63 |ectory.a|nd sourc|
|00000d70| 65 2d 66 69 6c 65 20 64 | 69 72 65 63 74 6f 72 79 |e-file d|irectory|
|00000d80| 20 66 6f 72 20 79 6f 75 | 72 20 64 65 62 75 67 67 | for you|r debugg|
|00000d90| 65 72 2e 1f 0a 28 61 75 | 74 6f 6c 6f 61 64 20 27 |er...(au|toload '|
|00000da0| 73 64 62 20 22 67 75 64 | 22 20 27 28 23 24 20 2e |sdb "gud|" '(#$ .|
|00000db0| 20 33 33 31 37 29 20 74 | 20 6e 69 6c 29 0a 23 40 | 3317) t| nil).#@|
|00000dc0| 31 36 30 20 52 75 6e 20 | 64 62 78 20 6f 6e 20 70 |160 Run |dbx on p|
|00000dd0| 72 6f 67 72 61 6d 20 46 | 49 4c 45 20 69 6e 20 62 |rogram F|ILE in b|
|00000de0| 75 66 66 65 72 20 2a 67 | 75 64 2d 46 49 4c 45 2a |uffer *g|ud-FILE*|
|00000df0| 2e 0a 54 68 65 20 64 69 | 72 65 63 74 6f 72 79 20 |..The di|rectory |
|00000e00| 63 6f 6e 74 61 69 6e 69 | 6e 67 20 46 49 4c 45 20 |containi|ng FILE |
|00000e10| 62 65 63 6f 6d 65 73 20 | 74 68 65 20 69 6e 69 74 |becomes |the init|
|00000e20| 69 61 6c 20 77 6f 72 6b | 69 6e 67 20 64 69 72 65 |ial work|ing dire|
|00000e30| 63 74 6f 72 79 0a 61 6e | 64 20 73 6f 75 72 63 65 |ctory.an|d source|
|00000e40| 2d 66 69 6c 65 20 64 69 | 72 65 63 74 6f 72 79 20 |-file di|rectory |
|00000e50| 66 6f 72 20 79 6f 75 72 | 20 64 65 62 75 67 67 65 |for your| debugge|
|00000e60| 72 2e 1f 0a 28 61 75 74 | 6f 6c 6f 61 64 20 27 64 |r...(aut|oload 'd|
|00000e70| 62 78 20 22 67 75 64 22 | 20 27 28 23 24 20 2e 20 |bx "gud"| '(#$ . |
|00000e80| 33 35 32 34 29 20 74 20 | 6e 69 6c 29 0a 23 40 33 |3524) t |nil).#@3|
|00000e90| 31 31 20 52 75 6e 20 78 | 64 62 20 6f 6e 20 70 72 |11 Run x|db on pr|
|00000ea0| 6f 67 72 61 6d 20 46 49 | 4c 45 20 69 6e 20 62 75 |ogram FI|LE in bu|
|00000eb0| 66 66 65 72 20 2a 67 75 | 64 2d 46 49 4c 45 2a 2e |ffer *gu|d-FILE*.|
|00000ec0| 0a 54 68 65 20 64 69 72 | 65 63 74 6f 72 79 20 63 |.The dir|ectory c|
|00000ed0| 6f 6e 74 61 69 6e 69 6e | 67 20 46 49 4c 45 20 62 |ontainin|g FILE b|
|00000ee0| 65 63 6f 6d 65 73 20 74 | 68 65 20 69 6e 69 74 69 |ecomes t|he initi|
|00000ef0| 61 6c 20 77 6f 72 6b 69 | 6e 67 20 64 69 72 65 63 |al worki|ng direc|
|00000f00| 74 6f 72 79 0a 61 6e 64 | 20 73 6f 75 72 63 65 2d |tory.and| source-|
|00000f10| 66 69 6c 65 20 64 69 72 | 65 63 74 6f 72 79 20 66 |file dir|ectory f|
|00000f20| 6f 72 20 79 6f 75 72 20 | 64 65 62 75 67 67 65 72 |or your |debugger|
|00000f30| 2e 0a 0a 59 6f 75 20 63 | 61 6e 20 73 65 74 20 74 |...You c|an set t|
|00000f40| 68 65 20 76 61 72 69 61 | 62 6c 65 20 27 67 75 64 |he varia|ble 'gud|
|00000f50| 2d 78 64 62 2d 64 69 72 | 65 63 74 6f 72 69 65 73 |-xdb-dir|ectories|
|00000f60| 27 20 74 6f 20 61 20 6c | 69 73 74 20 6f 66 20 70 |' to a l|ist of p|
|00000f70| 72 6f 67 72 61 6d 20 73 | 6f 75 72 63 65 0a 64 69 |rogram s|ource.di|
|00000f80| 72 65 63 74 6f 72 69 65 | 73 20 69 66 20 79 6f 75 |rectorie|s if you|
|00000f90| 72 20 70 72 6f 67 72 61 | 6d 20 63 6f 6e 74 61 69 |r progra|m contai|
|00000fa0| 6e 73 20 73 6f 75 72 63 | 65 73 20 66 72 6f 6d 20 |ns sourc|es from |
|00000fb0| 6d 6f 72 65 20 74 68 61 | 6e 20 6f 6e 65 20 64 69 |more tha|n one di|
|00000fc0| 72 65 63 74 6f 72 79 2e | 1f 0a 28 61 75 74 6f 6c |rectory.|..(autol|
|00000fd0| 6f 61 64 20 27 78 64 62 | 20 22 67 75 64 22 20 27 |oad 'xdb| "gud" '|
|00000fe0| 28 23 24 20 2e 20 33 37 | 33 31 29 20 74 20 6e 69 |(#$ . 37|31) t ni|
|00000ff0| 6c 29 0a 23 40 31 36 33 | 20 52 75 6e 20 70 65 72 |l).#@163| Run per|
|00001000| 6c 64 62 20 6f 6e 20 70 | 72 6f 67 72 61 6d 20 46 |ldb on p|rogram F|
|00001010| 49 4c 45 20 69 6e 20 62 | 75 66 66 65 72 20 2a 67 |ILE in b|uffer *g|
|00001020| 75 64 2d 46 49 4c 45 2a | 2e 0a 54 68 65 20 64 69 |ud-FILE*|..The di|
|00001030| 72 65 63 74 6f 72 79 20 | 63 6f 6e 74 61 69 6e 69 |rectory |containi|
|00001040| 6e 67 20 46 49 4c 45 20 | 62 65 63 6f 6d 65 73 20 |ng FILE |becomes |
|00001050| 74 68 65 20 69 6e 69 74 | 69 61 6c 20 77 6f 72 6b |the init|ial work|
|00001060| 69 6e 67 20 64 69 72 65 | 63 74 6f 72 79 0a 61 6e |ing dire|ctory.an|
|00001070| 64 20 73 6f 75 72 63 65 | 2d 66 69 6c 65 20 64 69 |d source|-file di|
|00001080| 72 65 63 74 6f 72 79 20 | 66 6f 72 20 79 6f 75 72 |rectory |for your|
|00001090| 20 64 65 62 75 67 67 65 | 72 2e 1f 0a 28 61 75 74 | debugge|r...(aut|
|000010a0| 6f 6c 6f 61 64 20 27 70 | 65 72 6c 64 62 20 22 67 |oload 'p|erldb "g|
|000010b0| 75 64 22 20 27 28 23 24 | 20 2e 20 34 30 38 39 29 |ud" '(#$| . 4089)|
|000010c0| 20 74 20 6e 69 6c 29 0a | 28 62 79 74 65 2d 63 6f | t nil).|(byte-co|
|000010d0| 64 65 20 22 c0 c1 c2 5c | 22 88 c0 c3 c4 5c 22 87 |de "...\|"....\".|
|000010e0| 22 20 5b 61 64 64 2d 68 | 6f 6f 6b 20 73 61 6d 65 |" [add-h|ook same|
|000010f0| 2d 77 69 6e 64 6f 77 2d | 62 75 66 66 65 72 2d 6e |-window-|buffer-n|
|00001100| 61 6d 65 73 20 22 2a 69 | 6e 66 65 72 69 6f 72 2d |ames "*i|nferior-|
|00001110| 6c 69 73 70 2a 22 20 73 | 61 6d 65 2d 77 69 6e 64 |lisp*" s|ame-wind|
|00001120| 6f 77 2d 72 65 67 65 78 | 70 73 20 22 5e 5c 5c 2a |ow-regex|ps "^\\*|
|00001130| 72 6c 6f 67 69 6e 2d 2e | 2a 5c 5c 2a 5c 5c 28 5c |rlogin-.|*\\*\\(\|
|00001140| 5c 7c 3c 5b 30 2d 39 5d | 2b 3e 5c 5c 29 22 5d 20 |\|<[0-9]|+>\\)"] |
|00001150| 33 29 0a 23 40 31 35 34 | 39 20 4f 70 65 6e 20 61 |3).#@154|9 Open a|
|00001160| 20 6e 65 74 77 6f 72 6b | 20 6c 6f 67 69 6e 20 63 | network| login c|
|00001170| 6f 6e 6e 65 63 74 69 6f | 6e 20 74 6f 20 48 4f 53 |onnectio|n to HOS|
|00001180| 54 20 76 69 61 20 74 68 | 65 20 60 72 6c 6f 67 69 |T via th|e `rlogi|
|00001190| 6e 27 20 70 72 6f 67 72 | 61 6d 2e 0a 49 6e 70 75 |n' progr|am..Inpu|
|000011a0| 74 20 69 73 20 73 65 6e | 74 20 6c 69 6e 65 2d 61 |t is sen|t line-a|
|000011b0| 74 2d 61 2d 74 69 6d 65 | 20 74 6f 20 74 68 65 20 |t-a-time| to the |
|000011c0| 72 65 6d 6f 74 65 20 63 | 6f 6e 6e 65 63 74 69 6f |remote c|onnectio|
|000011d0| 6e 2e 0a 0a 43 6f 6d 6d | 75 6e 69 63 61 74 69 6f |n...Comm|unicatio|
|000011e0| 6e 20 77 69 74 68 20 74 | 68 65 20 72 65 6d 6f 74 |n with t|he remot|
|000011f0| 65 20 68 6f 73 74 20 69 | 73 20 72 65 63 6f 72 64 |e host i|s record|
|00001200| 65 64 20 69 6e 20 61 20 | 62 75 66 66 65 72 20 60 |ed in a |buffer `|
|00001210| 2a 72 6c 6f 67 69 6e 2d | 48 4f 53 54 2a 27 0a 28 |*rlogin-|HOST*'.(|
|00001220| 6f 72 20 60 2a 72 6c 6f | 67 69 6e 2d 55 53 45 52 |or `*rlo|gin-USER|
|00001230| 40 48 4f 53 54 2a 27 20 | 69 66 20 74 68 65 20 72 |@HOST*' |if the r|
|00001240| 65 6d 6f 74 65 20 75 73 | 65 72 6e 61 6d 65 20 64 |emote us|ername d|
|00001250| 69 66 66 65 72 73 29 2e | 0a 49 66 20 61 20 70 72 |iffers).|.If a pr|
|00001260| 65 66 69 78 20 61 72 67 | 75 6d 65 6e 74 20 69 73 |efix arg|ument is|
|00001270| 20 67 69 76 65 6e 20 61 | 6e 64 20 74 68 65 20 62 | given a|nd the b|
|00001280| 75 66 66 65 72 20 60 2a | 72 6c 6f 67 69 6e 2d 48 |uffer `*|rlogin-H|
|00001290| 4f 53 54 2a 27 20 61 6c | 72 65 61 64 79 20 65 78 |OST*' al|ready ex|
|000012a0| 69 73 74 73 2c 0a 61 20 | 6e 65 77 20 62 75 66 66 |ists,.a |new buff|
|000012b0| 65 72 20 77 69 74 68 20 | 61 20 64 69 66 66 65 72 |er with |a differ|
|000012c0| 65 6e 74 20 63 6f 6e 6e | 65 63 74 69 6f 6e 20 77 |ent conn|ection w|
|000012d0| 69 6c 6c 20 62 65 20 6d | 61 64 65 2e 0a 0a 57 68 |ill be m|ade...Wh|
|000012e0| 65 6e 20 63 61 6c 6c 65 | 64 20 66 72 6f 6d 20 61 |en calle|d from a|
|000012f0| 20 70 72 6f 67 72 61 6d | 2c 20 69 66 20 74 68 65 | program|, if the|
|00001300| 20 6f 70 74 69 6f 6e 61 | 6c 20 73 65 63 6f 6e 64 | optiona|l second|
|00001310| 20 61 72 67 75 6d 65 6e | 74 20 69 73 20 61 20 73 | argumen|t is a s|
|00001320| 74 72 69 6e 67 20 6f 72 | 20 0a 62 75 66 66 65 72 |tring or| .buffer|
|00001330| 2c 20 69 74 20 6e 61 6d | 65 73 20 74 68 65 20 62 |, it nam|es the b|
|00001340| 75 66 66 65 72 20 74 6f | 20 75 73 65 2e 0a 0a 54 |uffer to| use...T|
|00001350| 68 65 20 76 61 72 69 61 | 62 6c 65 20 60 72 6c 6f |he varia|ble `rlo|
|00001360| 67 69 6e 2d 70 72 6f 67 | 72 61 6d 27 20 63 6f 6e |gin-prog|ram' con|
|00001370| 74 61 69 6e 73 20 74 68 | 65 20 6e 61 6d 65 20 6f |tains th|e name o|
|00001380| 66 20 74 68 65 20 61 63 | 74 75 61 6c 20 70 72 6f |f the ac|tual pro|
|00001390| 67 72 61 6d 20 74 6f 0a | 72 75 6e 2e 20 20 49 74 |gram to.|run. It|
|000013a0| 20 63 61 6e 20 62 65 20 | 61 20 72 65 6c 61 74 69 | can be |a relati|
|000013b0| 76 65 20 6f 72 20 61 62 | 73 6f 6c 75 74 65 20 70 |ve or ab|solute p|
|000013c0| 61 74 68 2e 0a 0a 54 68 | 65 20 76 61 72 69 61 62 |ath...Th|e variab|
|000013d0| 6c 65 20 60 72 6c 6f 67 | 69 6e 2d 65 78 70 6c 69 |le `rlog|in-expli|
|000013e0| 63 69 74 2d 61 72 67 73 | 27 20 69 73 20 61 20 6c |cit-args|' is a l|
|000013f0| 69 73 74 20 6f 66 20 61 | 72 67 75 6d 65 6e 74 73 |ist of a|rguments|
|00001400| 20 74 6f 20 67 69 76 65 | 20 74 6f 0a 74 68 65 20 | to give| to.the |
|00001410| 72 6c 6f 67 69 6e 20 77 | 68 65 6e 20 73 74 61 72 |rlogin w|hen star|
|00001420| 74 69 6e 67 2e 20 20 54 | 68 65 79 20 61 72 65 20 |ting. T|hey are |
|00001430| 61 64 64 65 64 20 61 66 | 74 65 72 20 61 6e 79 20 |added af|ter any |
|00001440| 61 72 67 75 6d 65 6e 74 | 73 20 67 69 76 65 6e 20 |argument|s given |
|00001450| 69 6e 0a 49 4e 50 55 54 | 2d 41 52 47 53 2e 0a 0a |in.INPUT|-ARGS...|
|00001460| 49 66 20 74 68 65 20 64 | 65 66 61 75 6c 74 20 76 |If the d|efault v|
|00001470| 61 6c 75 65 20 6f 66 20 | 60 72 6c 6f 67 69 6e 2d |alue of |`rlogin-|
|00001480| 64 69 72 65 63 74 6f 72 | 79 2d 74 72 61 63 6b 69 |director|y-tracki|
|00001490| 6e 67 2d 6d 6f 64 65 27 | 20 69 73 20 74 2c 20 74 |ng-mode'| is t, t|
|000014a0| 68 65 6e 20 74 68 65 0a | 64 65 66 61 75 6c 74 20 |hen the.|default |
|000014b0| 64 69 72 65 63 74 6f 72 | 79 20 69 6e 20 74 68 61 |director|y in tha|
|000014c0| 74 20 62 75 66 66 65 72 | 20 69 73 20 73 65 74 20 |t buffer| is set |
|000014d0| 74 6f 20 61 20 72 65 6d | 6f 74 65 20 28 46 54 50 |to a rem|ote (FTP|
|000014e0| 29 20 66 69 6c 65 20 6e | 61 6d 65 20 74 6f 0a 61 |) file n|ame to.a|
|000014f0| 63 63 65 73 73 20 79 6f | 75 72 20 68 6f 6d 65 20 |ccess yo|ur home |
|00001500| 64 69 72 65 63 74 6f 72 | 79 20 6f 6e 20 74 68 65 |director|y on the|
|00001510| 20 72 65 6d 6f 74 65 20 | 6d 61 63 68 69 6e 65 2e | remote |machine.|
|00001520| 20 20 4f 63 63 61 73 69 | 6f 6e 61 6c 6c 79 20 74 | Occasi|onally t|
|00001530| 68 69 73 20 63 61 75 73 | 65 73 0a 61 6e 20 65 72 |his caus|es.an er|
|00001540| 72 6f 72 2c 20 69 66 20 | 79 6f 75 20 63 61 6e 6e |ror, if |you cann|
|00001550| 6f 74 20 61 63 63 65 73 | 73 20 74 68 65 20 68 6f |ot acces|s the ho|
|00001560| 6d 65 20 64 69 72 65 63 | 74 6f 72 79 20 6f 6e 20 |me direc|tory on |
|00001570| 74 68 61 74 20 6d 61 63 | 68 69 6e 65 2e 20 20 54 |that mac|hine. T|
|00001580| 68 69 73 0a 65 72 72 6f | 72 20 69 73 20 68 61 72 |his.erro|r is har|
|00001590| 6d 6c 65 73 73 20 61 73 | 20 6c 6f 6e 67 20 61 73 |mless as| long as|
|000015a0| 20 79 6f 75 20 64 6f 6e | 27 74 20 74 72 79 20 74 | you don|'t try t|
|000015b0| 6f 20 75 73 65 20 74 68 | 61 74 20 64 65 66 61 75 |o use th|at defau|
|000015c0| 6c 74 20 64 69 72 65 63 | 74 6f 72 79 2e 0a 0a 49 |lt direc|tory...I|
|000015d0| 66 20 60 72 6c 6f 67 69 | 6e 2d 64 69 72 65 63 74 |f `rlogi|n-direct|
|000015e0| 6f 72 79 2d 74 72 61 63 | 6b 69 6e 67 2d 6d 6f 64 |ory-trac|king-mod|
|000015f0| 65 27 20 69 73 20 6e 65 | 69 74 68 65 72 20 74 20 |e' is ne|ither t |
|00001600| 6e 6f 72 20 6e 69 6c 2c | 20 74 68 65 6e 20 74 68 |nor nil,| then th|
|00001610| 65 20 64 65 66 61 75 6c | 74 0a 64 69 72 65 63 74 |e defaul|t.direct|
|00001620| 6f 72 79 20 69 73 20 69 | 6e 69 74 69 61 6c 6c 79 |ory is i|nitially|
|00001630| 20 73 65 74 20 75 70 20 | 74 6f 20 79 6f 75 72 20 | set up |to your |
|00001640| 28 6c 6f 63 61 6c 29 20 | 68 6f 6d 65 20 64 69 72 |(local) |home dir|
|00001650| 65 63 74 6f 72 79 2e 0a | 54 68 69 73 20 69 73 20 |ectory..|This is |
|00001660| 75 73 65 66 75 6c 20 69 | 66 20 74 68 65 20 72 65 |useful i|f the re|
|00001670| 6d 6f 74 65 20 6d 61 63 | 68 69 6e 65 20 61 6e 64 |mote mac|hine and|
|00001680| 20 79 6f 75 72 20 6c 6f | 63 61 6c 20 6d 61 63 68 | your lo|cal mach|
|00001690| 69 6e 65 0a 73 68 61 72 | 65 20 74 68 65 20 73 61 |ine.shar|e the sa|
|000016a0| 6d 65 20 66 69 6c 65 73 | 20 76 69 61 20 4e 46 53 |me files| via NFS|
|000016b0| 2e 20 20 54 68 69 73 20 | 69 73 20 74 68 65 20 64 |. This |is the d|
|000016c0| 65 66 61 75 6c 74 2e 0a | 0a 49 66 20 79 6f 75 20 |efault..|.If you |
|000016d0| 77 69 73 68 20 74 6f 20 | 63 68 61 6e 67 65 20 64 |wish to |change d|
|000016e0| 69 72 65 63 74 6f 72 79 | 20 74 72 61 63 6b 69 6e |irectory| trackin|
|000016f0| 67 20 73 74 79 6c 65 73 | 20 64 75 72 69 6e 67 20 |g styles| during |
|00001700| 61 20 73 65 73 73 69 6f | 6e 2c 20 75 73 65 20 74 |a sessio|n, use t|
|00001710| 68 65 0a 66 75 6e 63 74 | 69 6f 6e 20 60 72 6c 6f |he.funct|ion `rlo|
|00001720| 67 69 6e 2d 64 69 72 65 | 63 74 6f 72 79 2d 74 72 |gin-dire|ctory-tr|
|00001730| 61 63 6b 69 6e 67 2d 6d | 6f 64 65 27 20 72 61 74 |acking-m|ode' rat|
|00001740| 68 65 72 20 74 68 61 6e | 20 73 69 6d 70 6c 79 20 |her than| simply |
|00001750| 73 65 74 74 69 6e 67 20 | 74 68 65 0a 76 61 72 69 |setting |the.vari|
|00001760| 61 62 6c 65 2e 1f 0a 28 | 61 75 74 6f 6c 6f 61 64 |able...(|autoload|
|00001770| 20 27 72 6c 6f 67 69 6e | 20 22 72 6c 6f 67 69 6e | 'rlogin| "rlogin|
|00001780| 22 20 27 28 23 24 20 2e | 20 34 34 34 32 29 20 74 |" '(#$ .| 4442) t|
|00001790| 20 6e 69 6c 29 0a 23 40 | 34 32 35 20 52 65 67 65 | nil).#@|425 Rege|
|000017a0| 78 70 20 74 6f 20 6d 61 | 74 63 68 20 70 72 6f 6d |xp to ma|tch prom|
|000017b0| 70 74 73 20 69 6e 20 74 | 68 65 20 69 6e 66 65 72 |pts in t|he infer|
|000017c0| 69 6f 72 20 73 68 65 6c | 6c 2e 0a 44 65 66 61 75 |ior shel|l..Defau|
|000017d0| 6c 74 73 20 74 6f 20 22 | 5e 5b 5e 23 24 25 3e 5c |lts to "|^[^#$%>\|
|000017e0| 6e 5d 2a 5b 23 24 25 3e | 5d 20 2a 22 2c 20 77 68 |n]*[#$%>|] *", wh|
|000017f0| 69 63 68 20 77 6f 72 6b | 73 20 70 72 65 74 74 79 |ich work|s pretty|
|00001800| 20 77 65 6c 6c 2e 0a 54 | 68 69 73 20 76 61 72 69 | well..T|his vari|
|00001810| 61 62 6c 65 20 69 73 20 | 75 73 65 64 20 74 6f 20 |able is |used to |
|00001820| 69 6e 69 74 69 61 6c 69 | 73 65 20 60 63 6f 6d 69 |initiali|se `comi|
|00001830| 6e 74 2d 70 72 6f 6d 70 | 74 2d 72 65 67 65 78 70 |nt-promp|t-regexp|
|00001840| 27 20 69 6e 20 74 68 65 | 0a 73 68 65 6c 6c 20 62 |' in the|.shell b|
|00001850| 75 66 66 65 72 2e 0a 0a | 54 68 65 20 70 61 74 74 |uffer...|The patt|
|00001860| 65 72 6e 20 73 68 6f 75 | 6c 64 20 70 72 6f 62 61 |ern shou|ld proba|
|00001870| 62 6c 79 20 6e 6f 74 20 | 6d 61 74 63 68 20 6d 6f |bly not |match mo|
|00001880| 72 65 20 74 68 61 6e 20 | 6f 6e 65 20 6c 69 6e 65 |re than |one line|
|00001890| 2e 20 20 49 66 20 69 74 | 20 64 6f 65 73 2c 0a 73 |. If it| does,.s|
|000018a0| 68 65 6c 6c 2d 6d 6f 64 | 65 20 6d 61 79 20 62 65 |hell-mod|e may be|
|000018b0| 63 6f 6d 65 20 63 6f 6e | 66 75 73 65 64 20 74 72 |come con|fused tr|
|000018c0| 79 69 6e 67 20 74 6f 20 | 64 69 73 74 69 6e 67 75 |ying to |distingu|
|000018d0| 69 73 68 20 70 72 6f 6d | 70 74 20 66 72 6f 6d 20 |ish prom|pt from |
|000018e0| 69 6e 70 75 74 0a 6f 6e | 20 6c 69 6e 65 73 20 77 |input.on| lines w|
|000018f0| 68 69 63 68 20 64 6f 6e | 27 74 20 73 74 61 72 74 |hich don|'t start|
|00001900| 20 77 69 74 68 20 61 20 | 70 72 6f 6d 70 74 2e 0a | with a |prompt..|
|00001910| 0a 54 68 69 73 20 69 73 | 20 61 20 66 69 6e 65 20 |.This is| a fine |
|00001920| 74 68 69 6e 67 20 74 6f | 20 73 65 74 20 69 6e 20 |thing to| set in |
|00001930| 79 6f 75 72 20 60 2e 65 | 6d 61 63 73 27 20 66 69 |your `.e|macs' fi|
|00001940| 6c 65 2e 1f 0a 28 64 65 | 66 76 61 72 20 73 68 65 |le...(de|fvar she|
|00001950| 6c 6c 2d 70 72 6f 6d 70 | 74 2d 70 61 74 74 65 72 |ll-promp|t-patter|
|00001960| 6e 20 28 70 75 72 65 63 | 6f 70 79 20 22 5e 5b 5e |n (purec|opy "^[^|
|00001970| 23 24 25 3e 5c 6e 5d 2a | 5b 23 24 25 3e 5d 20 2a |#$%>\n]*|[#$%>] *|
|00001980| 22 29 20 28 23 24 20 2e | 20 36 30 34 34 29 29 0a |") (#$ .| 6044)).|
|00001990| 23 40 31 30 32 37 20 52 | 75 6e 20 61 6e 20 69 6e |#@1027 R|un an in|
|000019a0| 66 65 72 69 6f 72 20 73 | 68 65 6c 6c 2c 20 77 69 |ferior s|hell, wi|
|000019b0| 74 68 20 49 2f 4f 20 74 | 68 72 6f 75 67 68 20 62 |th I/O t|hrough b|
|000019c0| 75 66 66 65 72 20 2a 73 | 68 65 6c 6c 2a 2e 0a 49 |uffer *s|hell*..I|
|000019d0| 66 20 62 75 66 66 65 72 | 20 65 78 69 73 74 73 20 |f buffer| exists |
|000019e0| 62 75 74 20 73 68 65 6c | 6c 20 70 72 6f 63 65 73 |but shel|l proces|
|000019f0| 73 20 69 73 20 6e 6f 74 | 20 72 75 6e 6e 69 6e 67 |s is not| running|
|00001a00| 2c 20 6d 61 6b 65 20 6e | 65 77 20 73 68 65 6c 6c |, make n|ew shell|
|00001a10| 2e 0a 49 66 20 62 75 66 | 66 65 72 20 65 78 69 73 |..If buf|fer exis|
|00001a20| 74 73 20 61 6e 64 20 73 | 68 65 6c 6c 20 70 72 6f |ts and s|hell pro|
|00001a30| 63 65 73 73 20 69 73 20 | 72 75 6e 6e 69 6e 67 2c |cess is |running,|
|00001a40| 20 0a 20 6a 75 73 74 20 | 73 77 69 74 63 68 20 74 | . just |switch t|
|00001a50| 6f 20 62 75 66 66 65 72 | 20 60 2a 73 68 65 6c 6c |o buffer| `*shell|
|00001a60| 2a 27 2e 0a 50 72 6f 67 | 72 61 6d 20 75 73 65 64 |*'..Prog|ram used|
|00001a70| 20 63 6f 6d 65 73 20 66 | 72 6f 6d 20 76 61 72 69 | comes f|rom vari|
|00001a80| 61 62 6c 65 20 60 65 78 | 70 6c 69 63 69 74 2d 73 |able `ex|plicit-s|
|00001a90| 68 65 6c 6c 2d 66 69 6c | 65 2d 6e 61 6d 65 27 2c |hell-fil|e-name',|
|00001aa0| 0a 20 6f 72 20 28 69 66 | 20 74 68 61 74 20 69 73 |. or (if| that is|
|00001ab0| 20 6e 69 6c 29 20 66 72 | 6f 6d 20 74 68 65 20 45 | nil) fr|om the E|
|00001ac0| 53 48 45 4c 4c 20 65 6e | 76 69 72 6f 6e 6d 65 6e |SHELL en|vironmen|
|00001ad0| 74 20 76 61 72 69 61 62 | 6c 65 2c 0a 20 6f 72 20 |t variab|le,. or |
|00001ae0| 65 6c 73 65 20 66 72 6f | 6d 20 53 48 45 4c 4c 20 |else fro|m SHELL |
|00001af0| 69 66 20 74 68 65 72 65 | 20 69 73 20 6e 6f 20 45 |if there| is no E|
|00001b00| 53 48 45 4c 4c 2e 0a 49 | 66 20 61 20 66 69 6c 65 |SHELL..I|f a file|
|00001b10| 20 60 7e 2f 2e 65 6d 61 | 63 73 5f 53 48 45 4c 4c | `~/.ema|cs_SHELL|
|00001b20| 4e 41 4d 45 27 20 65 78 | 69 73 74 73 2c 20 69 74 |NAME' ex|ists, it|
|00001b30| 20 69 73 20 67 69 76 65 | 6e 20 61 73 20 69 6e 69 | is give|n as ini|
|00001b40| 74 69 61 6c 20 69 6e 70 | 75 74 0a 20 28 4e 6f 74 |tial inp|ut. (Not|
|00001b50| 65 20 74 68 61 74 20 74 | 68 69 73 20 6d 61 79 20 |e that t|his may |
|00001b60| 6c 6f 73 65 20 64 75 65 | 20 74 6f 20 61 20 74 69 |lose due| to a ti|
|00001b70| 6d 69 6e 67 20 65 72 72 | 6f 72 20 69 66 20 74 68 |ming err|or if th|
|00001b80| 65 20 73 68 65 6c 6c 0a | 20 20 64 69 73 63 61 72 |e shell.| discar|
|00001b90| 64 73 20 69 6e 70 75 74 | 20 77 68 65 6e 20 69 74 |ds input| when it|
|00001ba0| 20 73 74 61 72 74 73 20 | 75 70 2e 29 0a 54 68 65 | starts |up.).The|
|00001bb0| 20 62 75 66 66 65 72 20 | 69 73 20 70 75 74 20 69 | buffer |is put i|
|00001bc0| 6e 20 53 68 65 6c 6c 20 | 6d 6f 64 65 2c 20 67 69 |n Shell |mode, gi|
|00001bd0| 76 69 6e 67 20 63 6f 6d | 6d 61 6e 64 73 20 66 6f |ving com|mands fo|
|00001be0| 72 20 73 65 6e 64 69 6e | 67 20 69 6e 70 75 74 0a |r sendin|g input.|
|00001bf0| 61 6e 64 20 63 6f 6e 74 | 72 6f 6c 6c 69 6e 67 20 |and cont|rolling |
|00001c00| 74 68 65 20 73 75 62 6a | 6f 62 73 20 6f 66 20 74 |the subj|obs of t|
|00001c10| 68 65 20 73 68 65 6c 6c | 2e 20 20 53 65 65 20 60 |he shell|. See `|
|00001c20| 73 68 65 6c 6c 2d 6d 6f | 64 65 27 2e 0a 53 65 65 |shell-mo|de'..See|
|00001c30| 20 61 6c 73 6f 20 74 68 | 65 20 76 61 72 69 61 62 | also th|e variab|
|00001c40| 6c 65 20 60 73 68 65 6c | 6c 2d 70 72 6f 6d 70 74 |le `shel|l-prompt|
|00001c50| 2d 70 61 74 74 65 72 6e | 27 2e 0a 0a 54 68 65 20 |-pattern|'...The |
|00001c60| 73 68 65 6c 6c 20 66 69 | 6c 65 20 6e 61 6d 65 20 |shell fi|le name |
|00001c70| 28 73 61 6e 73 20 64 69 | 72 65 63 74 6f 72 69 65 |(sans di|rectorie|
|00001c80| 73 29 20 69 73 20 75 73 | 65 64 20 74 6f 20 6d 61 |s) is us|ed to ma|
|00001c90| 6b 65 20 61 20 73 79 6d | 62 6f 6c 20 6e 61 6d 65 |ke a sym|bol name|
|00001ca0| 0a 73 75 63 68 20 61 73 | 20 60 65 78 70 6c 69 63 |.such as| `explic|
|00001cb0| 69 74 2d 63 73 68 2d 61 | 72 67 73 27 2e 20 20 49 |it-csh-a|rgs'. I|
|00001cc0| 66 20 74 68 61 74 20 73 | 79 6d 62 6f 6c 20 69 73 |f that s|ymbol is|
|00001cd0| 20 61 20 76 61 72 69 61 | 62 6c 65 2c 0a 69 74 73 | a varia|ble,.its|
|00001ce0| 20 76 61 6c 75 65 20 69 | 73 20 75 73 65 64 20 61 | value i|s used a|
|00001cf0| 73 20 61 20 6c 69 73 74 | 20 6f 66 20 61 72 67 75 |s a list| of argu|
|00001d00| 6d 65 6e 74 73 20 77 68 | 65 6e 20 69 6e 76 6f 6b |ments wh|en invok|
|00001d10| 69 6e 67 20 74 68 65 20 | 73 68 65 6c 6c 2e 0a 4f |ing the |shell..O|
|00001d20| 74 68 65 72 77 69 73 65 | 2c 20 6f 6e 65 20 61 72 |therwise|, one ar|
|00001d30| 67 75 6d 65 6e 74 20 60 | 2d 69 27 20 69 73 20 70 |gument `|-i' is p|
|00001d40| 61 73 73 65 64 20 74 6f | 20 74 68 65 20 73 68 65 |assed to| the she|
|00001d50| 6c 6c 2e 0a 0a 28 54 79 | 70 65 20 5c 5b 64 65 73 |ll...(Ty|pe \[des|
|00001d60| 63 72 69 62 65 2d 6d 6f | 64 65 5d 20 69 6e 20 74 |cribe-mo|de] in t|
|00001d70| 68 65 20 73 68 65 6c 6c | 20 62 75 66 66 65 72 20 |he shell| buffer |
|00001d80| 66 6f 72 20 61 20 6c 69 | 73 74 20 6f 66 20 63 6f |for a li|st of co|
|00001d90| 6d 6d 61 6e 64 73 2e 29 | 1f 0a 28 61 75 74 6f 6c |mmands.)|..(autol|
|00001da0| 6f 61 64 20 27 73 68 65 | 6c 6c 20 22 73 68 65 6c |oad 'she|ll "shel|
|00001db0| 6c 22 20 27 28 23 24 20 | 2e 20 36 35 35 31 29 20 |l" '(#$ |. 6551) |
|00001dc0| 74 20 6e 69 6c 29 0a 28 | 62 79 74 65 2d 63 6f 64 |t nil).(|byte-cod|
|00001dd0| 65 20 22 c0 c1 c2 5c 22 | 88 c0 c3 c4 5c 22 87 22 |e "...\"|....\"."|
|00001de0| 20 5b 61 64 64 2d 68 6f | 6f 6b 20 73 61 6d 65 2d | [add-ho|ok same-|
|00001df0| 77 69 6e 64 6f 77 2d 62 | 75 66 66 65 72 2d 6e 61 |window-b|uffer-na|
|00001e00| 6d 65 73 20 22 2a 73 68 | 65 6c 6c 2a 22 20 73 61 |mes "*sh|ell*" sa|
|00001e10| 6d 65 2d 77 69 6e 64 6f | 77 2d 72 65 67 65 78 70 |me-windo|w-regexp|
|00001e20| 73 20 22 5e 5c 5c 2a 73 | 73 68 2d 2e 2a 5c 5c 2a |s "^\\*s|sh-.*\\*|
|00001e30| 5c 5c 28 5c 5c 7c 3c 5b | 30 2d 39 5d 2b 3e 5c 5c |\\(\\|<[|0-9]+>\\|
|00001e40| 29 22 5d 20 33 29 0a 23 | 40 31 36 32 31 20 4f 70 |)"] 3).#|@1621 Op|
|00001e50| 65 6e 20 61 20 6e 65 74 | 77 6f 72 6b 20 6c 6f 67 |en a net|work log|
|00001e60| 69 6e 20 63 6f 6e 6e 65 | 63 74 69 6f 6e 20 76 69 |in conne|ction vi|
|00001e70| 61 20 60 73 73 68 27 20 | 77 69 74 68 20 61 72 67 |a `ssh' |with arg|
|00001e80| 73 20 49 4e 50 55 54 2d | 41 52 47 53 2e 0a 49 4e |s INPUT-|ARGS..IN|
|00001e90| 50 55 54 2d 41 52 47 53 | 20 73 68 6f 75 6c 64 20 |PUT-ARGS| should |
|00001ea0| 73 74 61 72 74 20 77 69 | 74 68 20 61 20 68 6f 73 |start wi|th a hos|
|00001eb0| 74 20 6e 61 6d 65 3b 20 | 69 74 20 6d 61 79 20 61 |t name; |it may a|
|00001ec0| 6c 73 6f 20 63 6f 6e 74 | 61 69 6e 0a 6f 74 68 65 |lso cont|ain.othe|
|00001ed0| 72 20 61 72 67 75 6d 65 | 6e 74 73 20 66 6f 72 20 |r argume|nts for |
|00001ee0| 60 73 73 68 27 2e 0a 0a | 49 6e 70 75 74 20 69 73 |`ssh'...|Input is|
|00001ef0| 20 73 65 6e 74 20 6c 69 | 6e 65 2d 61 74 2d 61 2d | sent li|ne-at-a-|
|00001f00| 74 69 6d 65 20 74 6f 20 | 74 68 65 20 72 65 6d 6f |time to |the remo|
|00001f10| 74 65 20 63 6f 6e 6e 65 | 63 74 69 6f 6e 2e 0a 0a |te conne|ction...|
|00001f20| 43 6f 6d 6d 75 6e 69 63 | 61 74 69 6f 6e 20 77 69 |Communic|ation wi|
|00001f30| 74 68 20 74 68 65 20 72 | 65 6d 6f 74 65 20 68 6f |th the r|emote ho|
|00001f40| 73 74 20 69 73 20 72 65 | 63 6f 72 64 65 64 20 69 |st is re|corded i|
|00001f50| 6e 20 61 20 62 75 66 66 | 65 72 20 60 2a 73 73 68 |n a buff|er `*ssh|
|00001f60| 2d 48 4f 53 54 2a 27 0a | 28 6f 72 20 60 2a 73 73 |-HOST*'.|(or `*ss|
|00001f70| 68 2d 55 53 45 52 40 48 | 4f 53 54 2a 27 20 69 66 |h-USER@H|OST*' if|
|00001f80| 20 74 68 65 20 72 65 6d | 6f 74 65 20 75 73 65 72 | the rem|ote user|
|00001f90| 6e 61 6d 65 20 64 69 66 | 66 65 72 73 29 2e 0a 49 |name dif|fers)..I|
|00001fa0| 66 20 61 20 70 72 65 66 | 69 78 20 61 72 67 75 6d |f a pref|ix argum|
|00001fb0| 65 6e 74 20 69 73 20 67 | 69 76 65 6e 20 61 6e 64 |ent is g|iven and|
|00001fc0| 20 74 68 65 20 62 75 66 | 66 65 72 20 60 2a 73 73 | the buf|fer `*ss|
|00001fd0| 68 2d 48 4f 53 54 2a 27 | 20 61 6c 72 65 61 64 79 |h-HOST*'| already|
|00001fe0| 20 65 78 69 73 74 73 2c | 0a 61 20 6e 65 77 20 62 | exists,|.a new b|
|00001ff0| 75 66 66 65 72 20 77 69 | 74 68 20 61 20 64 69 66 |uffer wi|th a dif|
|00002000| 66 65 72 65 6e 74 20 63 | 6f 6e 6e 65 63 74 69 6f |ferent c|onnectio|
|00002010| 6e 20 77 69 6c 6c 20 62 | 65 20 6d 61 64 65 2e 0a |n will b|e made..|
|00002020| 0a 57 68 65 6e 20 63 61 | 6c 6c 65 64 20 66 72 6f |.When ca|lled fro|
|00002030| 6d 20 61 20 70 72 6f 67 | 72 61 6d 2c 20 69 66 20 |m a prog|ram, if |
|00002040| 74 68 65 20 6f 70 74 69 | 6f 6e 61 6c 20 73 65 63 |the opti|onal sec|
|00002050| 6f 6e 64 20 61 72 67 75 | 6d 65 6e 74 20 42 55 46 |ond argu|ment BUF|
|00002060| 46 45 52 20 69 73 0a 61 | 20 73 74 72 69 6e 67 20 |FER is.a| string |
|00002070| 6f 72 20 62 75 66 66 65 | 72 2c 20 69 74 20 73 70 |or buffe|r, it sp|
|00002080| 65 63 69 66 69 65 73 20 | 74 68 65 20 62 75 66 66 |ecifies |the buff|
|00002090| 65 72 20 74 6f 20 75 73 | 65 2e 0a 0a 54 68 65 20 |er to us|e...The |
|000020a0| 76 61 72 69 61 62 6c 65 | 20 60 73 73 68 2d 70 72 |variable| `ssh-pr|
|000020b0| 6f 67 72 61 6d 27 20 63 | 6f 6e 74 61 69 6e 73 20 |ogram' c|ontains |
|000020c0| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 74 68 65 20 |the name| of the |
|000020d0| 61 63 74 75 61 6c 20 70 | 72 6f 67 72 61 6d 20 74 |actual p|rogram t|
|000020e0| 6f 0a 72 75 6e 2e 20 20 | 49 74 20 63 61 6e 20 62 |o.run. |It can b|
|000020f0| 65 20 61 20 72 65 6c 61 | 74 69 76 65 20 6f 72 20 |e a rela|tive or |
|00002100| 61 62 73 6f 6c 75 74 65 | 20 70 61 74 68 2e 0a 0a |absolute| path...|
|00002110| 54 68 65 20 76 61 72 69 | 61 62 6c 65 20 60 73 73 |The vari|able `ss|
|00002120| 68 2d 65 78 70 6c 69 63 | 69 74 2d 61 72 67 73 27 |h-explic|it-args'|
|00002130| 20 69 73 20 61 20 6c 69 | 73 74 20 6f 66 20 61 72 | is a li|st of ar|
|00002140| 67 75 6d 65 6e 74 73 20 | 74 6f 20 67 69 76 65 20 |guments |to give |
|00002150| 74 6f 0a 74 68 65 20 73 | 73 68 20 77 68 65 6e 20 |to.the s|sh when |
|00002160| 73 74 61 72 74 69 6e 67 | 2e 20 20 54 68 65 79 20 |starting|. They |
|00002170| 61 72 65 20 70 72 65 70 | 65 6e 64 65 64 20 74 6f |are prep|ended to|
|00002180| 20 61 6e 79 20 61 72 67 | 75 6d 65 6e 74 73 20 67 | any arg|uments g|
|00002190| 69 76 65 6e 20 69 6e 0a | 49 4e 50 55 54 2d 41 52 |iven in.|INPUT-AR|
|000021a0| 47 53 2e 0a 0a 49 66 20 | 74 68 65 20 64 65 66 61 |GS...If |the defa|
|000021b0| 75 6c 74 20 76 61 6c 75 | 65 20 6f 66 20 60 73 73 |ult valu|e of `ss|
|000021c0| 68 2d 64 69 72 65 63 74 | 6f 72 79 2d 74 72 61 63 |h-direct|ory-trac|
|000021d0| 6b 69 6e 67 2d 6d 6f 64 | 65 27 20 69 73 20 74 2c |king-mod|e' is t,|
|000021e0| 20 74 68 65 6e 20 74 68 | 65 0a 64 65 66 61 75 6c | then th|e.defaul|
|000021f0| 74 20 64 69 72 65 63 74 | 6f 72 79 20 69 6e 20 74 |t direct|ory in t|
|00002200| 68 61 74 20 62 75 66 66 | 65 72 20 69 73 20 73 65 |hat buff|er is se|
|00002210| 74 20 74 6f 20 61 20 72 | 65 6d 6f 74 65 20 28 46 |t to a r|emote (F|
|00002220| 54 50 29 20 66 69 6c 65 | 20 6e 61 6d 65 20 74 6f |TP) file| name to|
|00002230| 0a 61 63 63 65 73 73 20 | 79 6f 75 72 20 68 6f 6d |.access |your hom|
|00002240| 65 20 64 69 72 65 63 74 | 6f 72 79 20 6f 6e 20 74 |e direct|ory on t|
|00002250| 68 65 20 72 65 6d 6f 74 | 65 20 6d 61 63 68 69 6e |he remot|e machin|
|00002260| 65 2e 20 20 4f 63 63 61 | 73 69 6f 6e 61 6c 6c 79 |e. Occa|sionally|
|00002270| 20 74 68 69 73 20 63 61 | 75 73 65 73 0a 61 6e 20 | this ca|uses.an |
|00002280| 65 72 72 6f 72 2c 20 69 | 66 20 79 6f 75 20 63 61 |error, i|f you ca|
|00002290| 6e 6e 6f 74 20 61 63 63 | 65 73 73 20 74 68 65 20 |nnot acc|ess the |
|000022a0| 68 6f 6d 65 20 64 69 72 | 65 63 74 6f 72 79 20 6f |home dir|ectory o|
|000022b0| 6e 20 74 68 61 74 20 6d | 61 63 68 69 6e 65 2e 20 |n that m|achine. |
|000022c0| 20 54 68 69 73 0a 65 72 | 72 6f 72 20 69 73 20 68 | This.er|ror is h|
|000022d0| 61 72 6d 6c 65 73 73 20 | 61 73 20 6c 6f 6e 67 20 |armless |as long |
|000022e0| 61 73 20 79 6f 75 20 64 | 6f 6e 27 74 20 74 72 79 |as you d|on't try|
|000022f0| 20 74 6f 20 75 73 65 20 | 74 68 61 74 20 64 65 66 | to use |that def|
|00002300| 61 75 6c 74 20 64 69 72 | 65 63 74 6f 72 79 2e 0a |ault dir|ectory..|
|00002310| 0a 49 66 20 60 73 73 68 | 2d 64 69 72 65 63 74 6f |.If `ssh|-directo|
|00002320| 72 79 2d 74 72 61 63 6b | 69 6e 67 2d 6d 6f 64 65 |ry-track|ing-mode|
|00002330| 27 20 69 73 20 6e 65 69 | 74 68 65 72 20 74 20 6e |' is nei|ther t n|
|00002340| 6f 72 20 6e 69 6c 2c 20 | 74 68 65 6e 20 74 68 65 |or nil, |then the|
|00002350| 20 64 65 66 61 75 6c 74 | 0a 64 69 72 65 63 74 6f | default|.directo|
|00002360| 72 79 20 69 73 20 69 6e | 69 74 69 61 6c 6c 79 20 |ry is in|itially |
|00002370| 73 65 74 20 75 70 20 74 | 6f 20 79 6f 75 72 20 28 |set up t|o your (|
|00002380| 6c 6f 63 61 6c 29 20 68 | 6f 6d 65 20 64 69 72 65 |local) h|ome dire|
|00002390| 63 74 6f 72 79 2e 0a 54 | 68 69 73 20 69 73 20 75 |ctory..T|his is u|
|000023a0| 73 65 66 75 6c 20 69 66 | 20 74 68 65 20 72 65 6d |seful if| the rem|
|000023b0| 6f 74 65 20 6d 61 63 68 | 69 6e 65 20 61 6e 64 20 |ote mach|ine and |
|000023c0| 79 6f 75 72 20 6c 6f 63 | 61 6c 20 6d 61 63 68 69 |your loc|al machi|
|000023d0| 6e 65 0a 73 68 61 72 65 | 20 74 68 65 20 73 61 6d |ne.share| the sam|
|000023e0| 65 20 66 69 6c 65 73 20 | 76 69 61 20 4e 46 53 2e |e files |via NFS.|
|000023f0| 20 20 54 68 69 73 20 69 | 73 20 74 68 65 20 64 65 | This i|s the de|
|00002400| 66 61 75 6c 74 2e 0a 0a | 49 66 20 79 6f 75 20 77 |fault...|If you w|
|00002410| 69 73 68 20 74 6f 20 63 | 68 61 6e 67 65 20 64 69 |ish to c|hange di|
|00002420| 72 65 63 74 6f 72 79 20 | 74 72 61 63 6b 69 6e 67 |rectory |tracking|
|00002430| 20 73 74 79 6c 65 73 20 | 64 75 72 69 6e 67 20 61 | styles |during a|
|00002440| 20 73 65 73 73 69 6f 6e | 2c 20 75 73 65 20 74 68 | session|, use th|
|00002450| 65 0a 66 75 6e 63 74 69 | 6f 6e 20 60 73 73 68 2d |e.functi|on `ssh-|
|00002460| 64 69 72 65 63 74 6f 72 | 79 2d 74 72 61 63 6b 69 |director|y-tracki|
|00002470| 6e 67 2d 6d 6f 64 65 27 | 20 72 61 74 68 65 72 20 |ng-mode'| rather |
|00002480| 74 68 61 6e 20 73 69 6d | 70 6c 79 20 73 65 74 74 |than sim|ply sett|
|00002490| 69 6e 67 20 74 68 65 0a | 76 61 72 69 61 62 6c 65 |ing the.|variable|
|000024a0| 2e 1f 0a 28 61 75 74 6f | 6c 6f 61 64 20 27 73 73 |...(auto|load 'ss|
|000024b0| 68 20 22 73 73 68 22 20 | 27 28 23 24 20 2e 20 37 |h "ssh" |'(#$ . 7|
|000024c0| 37 35 38 29 20 74 20 6e | 69 6c 29 0a 28 61 64 64 |758) t n|il).(add|
|000024d0| 2d 68 6f 6f 6b 20 27 73 | 61 6d 65 2d 77 69 6e 64 |-hook 's|ame-wind|
|000024e0| 6f 77 2d 72 65 67 65 78 | 70 73 20 22 5c 5c 2a 74 |ow-regex|ps "\\*t|
|000024f0| 65 6c 6e 65 74 2d 2e 2a | 5c 5c 2a 5c 5c 28 5c 5c |elnet-.*|\\*\\(\\|
|00002500| 7c 3c 5b 30 2d 39 5d 2b | 3e 5c 5c 29 22 29 0a 23 ||<[0-9]+|>\\)").#|
|00002510| 40 32 37 38 20 4f 70 65 | 6e 20 61 20 6e 65 74 77 |@278 Ope|n a netw|
|00002520| 6f 72 6b 20 6c 6f 67 69 | 6e 20 63 6f 6e 6e 65 63 |ork logi|n connec|
|00002530| 74 69 6f 6e 20 74 6f 20 | 68 6f 73 74 20 6e 61 6d |tion to |host nam|
|00002540| 65 64 20 48 4f 53 54 20 | 28 61 20 73 74 72 69 6e |ed HOST |(a strin|
|00002550| 67 29 2e 0a 57 69 74 68 | 20 61 20 70 72 65 66 69 |g)..With| a prefi|
|00002560| 78 20 61 72 67 75 6d 65 | 6e 74 2c 20 70 72 6f 6d |x argume|nt, prom|
|00002570| 70 74 73 20 66 6f 72 20 | 74 68 65 20 70 6f 72 74 |pts for |the port|
|00002580| 20 6e 61 6d 65 20 6f 72 | 20 6e 75 6d 62 65 72 20 | name or| number |
|00002590| 61 73 20 77 65 6c 6c 2e | 0a 43 6f 6d 6d 75 6e 69 |as well.|.Communi|
|000025a0| 63 61 74 69 6f 6e 20 77 | 69 74 68 20 48 4f 53 54 |cation w|ith HOST|
|000025b0| 20 69 73 20 72 65 63 6f | 72 64 65 64 20 69 6e 20 | is reco|rded in |
|000025c0| 61 20 62 75 66 66 65 72 | 20 60 2a 48 4f 53 54 2d |a buffer| `*HOST-|
|000025d0| 74 65 6c 6e 65 74 2a 27 | 2e 0a 4e 6f 72 6d 61 6c |telnet*'|..Normal|
|000025e0| 6c 79 20 69 6e 70 75 74 | 20 69 73 20 65 64 69 74 |ly input| is edit|
|000025f0| 65 64 20 69 6e 20 45 6d | 61 63 73 20 61 6e 64 20 |ed in Em|acs and |
|00002600| 73 65 6e 74 20 61 20 6c | 69 6e 65 20 61 74 20 61 |sent a l|ine at a|
|00002610| 20 74 69 6d 65 2e 0a 53 | 65 65 20 61 6c 73 6f 20 | time..S|ee also |
|00002620| 60 5c 5b 72 73 68 5d 27 | 2e 1f 0a 28 61 75 74 6f |`\[rsh]'|...(auto|
|00002630| 6c 6f 61 64 20 27 74 65 | 6c 6e 65 74 20 22 74 65 |load 'te|lnet "te|
|00002640| 6c 6e 65 74 22 20 27 28 | 23 24 20 2e 20 39 34 39 |lnet" '(|#$ . 949|
|00002650| 33 29 20 74 20 6e 69 6c | 29 0a 28 61 64 64 2d 68 |3) t nil|).(add-h|
|00002660| 6f 6f 6b 20 27 73 61 6d | 65 2d 77 69 6e 64 6f 77 |ook 'sam|e-window|
|00002670| 2d 72 65 67 65 78 70 73 | 20 22 5c 5c 2a 72 73 68 |-regexps| "\\*rsh|
|00002680| 2d 5b 5e 2d 5d 2a 5c 5c | 2a 5c 5c 28 5c 5c 7c 3c |-[^-]*\\|*\\(\\|<|
|00002690| 5b 30 2d 39 5d 2a 3e 5c | 5c 29 22 29 0a 23 40 32 |[0-9]*>\|\)").#@2|
|000026a0| 30 39 20 4f 70 65 6e 20 | 61 20 6e 65 74 77 6f 72 |09 Open |a networ|
|000026b0| 6b 20 6c 6f 67 69 6e 20 | 63 6f 6e 6e 65 63 74 69 |k login |connecti|
|000026c0| 6f 6e 20 74 6f 20 68 6f | 73 74 20 6e 61 6d 65 64 |on to ho|st named|
|000026d0| 20 48 4f 53 54 20 28 61 | 20 73 74 72 69 6e 67 29 | HOST (a| string)|
|000026e0| 2e 0a 43 6f 6d 6d 75 6e | 69 63 61 74 69 6f 6e 20 |..Commun|ication |
|000026f0| 77 69 74 68 20 48 4f 53 | 54 20 69 73 20 72 65 63 |with HOS|T is rec|
|00002700| 6f 72 64 65 64 20 69 6e | 20 61 20 62 75 66 66 65 |orded in| a buffe|
|00002710| 72 20 60 2a 72 73 68 2d | 48 4f 53 54 2a 27 2e 0a |r `*rsh-|HOST*'..|
|00002720| 4e 6f 72 6d 61 6c 6c 79 | 20 69 6e 70 75 74 20 69 |Normally| input i|
|00002730| 73 20 65 64 69 74 65 64 | 20 69 6e 20 45 6d 61 63 |s edited| in Emac|
|00002740| 73 20 61 6e 64 20 73 65 | 6e 74 20 61 20 6c 69 6e |s and se|nt a lin|
|00002750| 65 20 61 74 20 61 20 74 | 69 6d 65 2e 0a 53 65 65 |e at a t|ime..See|
|00002760| 20 61 6c 73 6f 20 60 5c | 5b 74 65 6c 6e 65 74 5d | also `\|[telnet]|
|00002770| 27 2e 1f 0a 28 61 75 74 | 6f 6c 6f 61 64 20 27 72 |'...(aut|oload 'r|
|00002780| 73 68 20 22 74 65 6c 6e | 65 74 22 20 27 28 23 24 |sh "teln|et" '(#$|
|00002790| 20 2e 20 39 38 39 31 29 | 20 74 20 6e 69 6c 29 0a | . 9891)| t nil).|
|000027a0| 28 70 72 6f 76 69 64 65 | 20 27 63 6f 6d 69 6e 74 |(provide| 'comint|
|000027b0| 2d 61 75 74 6f 6c 6f 61 | 64 73 29 0a |-autoloa|ds). |
+--------+-------------------------+-------------------------+--------+--------+